import Vue from 'vue'
import VueI18n from 'vue-i18n'
import {
  getStore
} from '../util/store'
Vue.use(VueI18n)
const Avue = window.AVUE;
const messages = {}

const i18n = new VueI18n({
  locale: getStore({
    name: 'language'
  }) || 'zh_CN',
  messages
})

export default i18n
